package com.csdj.wenjun.controller;


import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.csdj.wenjun.entity.User;
import com.csdj.wenjun.service.BannaService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestMapping;

import org.springframework.web.bind.annotation.RequestParam;
import org.springframework.web.bind.annotation.RestController;

import java.util.List;

/**
 * <p>
 *  前端控制器
 * </p>
 *
 * @author wenjun
 * @since 2022-01-09
 */
@RestController
@RequestMapping("/banna")
public class BannaController {
    @Autowired
    private BannaService bannaService;
    @GetMapping("/selectqb")
    public List selectuserid(){
        return bannaService.list();
    }
}
